<template>
  <div>
    <tables title="用户名">
      <input type="text">
    </tables>
    <tables title="密码">
      <input type="password">
    </tables>
    <tables title="性别">
      <input type="radio" name="1">男
      <input type="radio" name="1">女
    </tables>
    <tables title="爱好">
      <span v-for="item in arr">
        <input type="checkbox">{{item}}
      </span>
    </tables>
    <tables title="来自于">
      <select name="" id="">
        <option v-for="item in arr1" :value="item">{{item}}</option>
      </select>
    </tables>
  </div>
</template>

<script>
import Tables from "components/tables/Tables";

export default {
  data() {
    return {
      arr: ['抽烟', '喝酒', '烫头'],
      arr1: ['北京', '上海', '广州', '深圳']
    };
  },
  components: {
    Tables
  }
};
</script>

<style lang="scss" scoped>
</style>